Optimal. Leaf size=20 \[ \frac {\text {li}\left (d (e+f x)^p\right )}{d f p} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {2437, 2344,
2335} \begin {gather*} \frac {\text {li}\left (d (e+f x)^p\right )}{d f p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2335
Rule 2344
Rule 2437
Rubi steps
\begin {align*} \int \frac {(e+f x)^{-1+p}}{\log \left (d (e+f x)^p\right )} \, dx &=\frac {\text {Subst}\left (\int \frac {x^{-1+p}}{\log \left (d x^p\right )} \, dx,x,e+f x\right )}{f}\\ &=\frac {\text {Subst}\left (\int \frac {1}{\log (d x)} \, dx,x,(e+f x)^p\right )}{f p}\\ &=\frac {\text {li}\left (d (e+f x)^p\right )}{d f p}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 21, normalized size = 1.05 \begin {gather*} \frac {\text {Ei}\left (\log \left (d (e+f x)^p\right )\right )}{d f p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.59, size = 26, normalized size = 1.30
method | result | size |
default | \(-\frac {\expIntegral \left (1, -\ln \left (d \left (f x +e \right )^{p}\right )\right )}{p f d}\) | \(26\) |
risch | \(-\frac {{\mathrm e}^{\frac {i \pi \,\mathrm {csgn}\left (i d \left (f x +e \right )^{p}\right ) \left (-\mathrm {csgn}\left (i d \left (f x +e \right )^{p}\right )+\mathrm {csgn}\left (i d \right )\right ) \left (-\mathrm {csgn}\left (i d \left (f x +e \right )^{p}\right )+\mathrm {csgn}\left (i \left (f x +e \right )^{p}\right )\right )}{2}} \expIntegral \left (1, -\ln \left (d \right )-\ln \left (\left (f x +e \right )^{p}\right )-\frac {i \pi \,\mathrm {csgn}\left (i \left (f x +e \right )^{p}\right ) \mathrm {csgn}\left (i d \left (f x +e \right )^{p}\right )^{2}}{2}+\frac {i \pi \,\mathrm {csgn}\left (i \left (f x +e \right )^{p}\right ) \mathrm {csgn}\left (i d \left (f x +e \right )^{p}\right ) \mathrm {csgn}\left (i d \right )}{2}+\frac {i \pi \mathrm {csgn}\left (i d \left (f x +e \right )^{p}\right )^{3}}{2}-\frac {i \pi \mathrm {csgn}\left (i d \left (f x +e \right )^{p}\right )^{2} \mathrm {csgn}\left (i d \right )}{2}\right )}{p f d}\) | \(194\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 23, normalized size = 1.15 \begin {gather*} \frac {{\rm Ei}\left (p \log \left (f x + e\right ) + \log \left (d\right )\right )}{d f p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 42 vs.
\(2 (14) = 28\).
time = 3.42, size = 42, normalized size = 2.10 \begin {gather*} \begin {cases} - \frac {\begin {cases} - \frac {\log {\left (e + f x \right )}}{\log {\left (d \right )}} & \text {for}\: p = 0 \\- \frac {\operatorname {li}{\left (d \left (e + f x\right )^{p} \right )}}{d p} & \text {otherwise} \end {cases}}{f} & \text {for}\: f \neq 0 \\\frac {e^{p - 1} x}{\log {\left (d e^{p} \right )}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.51, size = 23, normalized size = 1.15 \begin {gather*} \frac {{\rm Ei}\left (p \log \left (f x + e\right ) + \log \left (d\right )\right )}{d f p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.20, size = 20, normalized size = 1.00 \begin {gather*} \frac {\mathrm {logint}\left (d\,{\left (e+f\,x\right )}^p\right )}{d\,f\,p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________